<foreach name="list" item="val">
<li class="index_slider_list clear">
    <a href="{:U('Goods/detail',array('id'=>$val['id']))}">
        <div class="index_list_left" style="background-image: url({$val.goods_logo})"></div>
        <div class="index_list_right clear">
            <div class="index_list_title">{$val.goods_name}</div>
            <div class="index_list_abstract">{$val.profile}</div>
            <div class="index_list_money"><i class="iconfont icon-jiage-copy"></i><em class="price-display">{$val.price}</em></div>
            <div class="index_list_shop">已售<span class="index_list_num price-display">{$val.sale_count|default=0}</span>辆</div>
        </div>
    </a>
</li>
</foreach>